package com.itgacl.minio.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "minio")
public class MinioConfig {

    /**
     访问地址
     */
    private String endpoint;

    /**
     * 用户名
     */
    private String accessKey;
    /**
     * 密码
     */
    private String secretKey;
    /**
     * 桶名
     */
    private String bucketName;

    /**
     * 访问策略(read，write，read-write)
     */
    private String bucketPolicy;

}
